package nan.nanfang.test10;

import java.util.Random;

public class TianShi {
   public void ZhuYao(GongJu gongJu){
      if (gongJu instanceof BiXie){
         System.out.println("辟邪");
         gongJu.GongJi();
         return;
      }
      System.out.println("工具无法辟邪");
   }
}
